home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / winspect.zip / WINSPECT.H < prev    next >
C/C++ Source or Header  |  1993-10-07  |  2KB  |  42 lines

  1. /*****************************************************************************
  2.  *                                                                           *
  3.  * Projeto:  Winspector -> Ferramenta para programacao                       *
  4.  *                         HEADER FILE                                       *
  5.  * Modulo :  WINSPECTOR.H                                                    *
  6.  *                                                                           *
  7.  * Autor  : Noriel Chang Reissig                                             *
  8.  *                                                                           *
  9.  * Criacao : 20/04/93                                                        *
  10.  * Revisao : 04/08/93                                                        *
  11.  * Modific : 04/08/93                                                        *
  12.  *                                                                           *
  13.  *****************************************************************************
  14.  Obs.:
  15.      - Quando for header de uma DLL todas as funcoes que podem ser chamadas
  16.        por outras aplicacoes DEVEM SER "FAR PASCAL"
  17.  
  18.      - Requer WINDOWS.H no programa chamador
  19.        Ex.:
  20.              #include  <windows.h>
  21.              #include  "winspect.h"
  22. */
  23.  
  24. #ifndef    __WINSPECTOR_H__
  25.   #define  __WINSPECTOR_H__
  26.  
  27.  
  28. #define  ON    1
  29. #define  OFF   0
  30.  
  31.  
  32.     BOOL StartWinspector( void);                         // Executa WINSPECT.EXE
  33.     BOOL CloseWinspector( void);                         // Fecha o WINSPECTOR, se estiver na memoria.
  34.     BOOL WinspectorAutoSave( BOOL OnOff);                // Ativa/Desativa o autosave.
  35.     BOOL TellWinspector( LPSTR szMessage);               // Envia a mensagem szMessage para Winspector.
  36.  
  37. #ifndef   __WINSPECTOR_DLL__
  38.     BOOL  cdecl TellWinspectorFmt( LPSTR szFormat, ...); // Envia a mensagem para Winpector, funciona como printf().
  39. #endif   // __WINSPECTOR_DLL__
  40.  
  41. #endif   // __WINSPECTOR_H__
  42.